package title;

import java.util.Scanner;

/**
 * 功能：
 * 作者：lc
 * 日期：2024/12/1 10:53
 */
public class MainP1421 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b = scanner.nextDouble();
        double v =b / 10.0;
        double sum = a + v;
        int res = (int)(sum / 1.9);
        System.out.println( res);
    }
}
